package com.shoppingmall.bean;

import com.example.zyh.toolslib.base.BaseResult;

import java.util.List;

public class HomeClassBean extends BaseResult {


    /**
     * code : 0
     * message : success
     * data : [{"category_id":455,"name":"文胸/塑身/内裤","parent_id":86,"category_path":"0|86|455|","goods_count":0,"category_order":0,"image":"mixed"},{"category_id":469,"name":"纸品湿巾","parent_id":79,"category_path":"0|79|469|","goods_count":0,"category_order":0,"image":"mixed"},{"category_id":477,"name":"清洁工具/一次性用品","parent_id":79,"category_path":"0|79|477|","goods_count":0,"category_order":0,"image":"mixed"},{"category_id":492,"name":"数码","parent_id":491,"category_path":"0|491|492|","goods_count":0,"category_order":1,"image":"mixed"},{"category_id":493,"name":"家电","parent_id":491,"category_path":"0|491|493|","goods_count":0,"category_order":2,"image":"mixed"},{"category_id":500,"name":"厨房小电","parent_id":491,"category_path":"0|491|500|","goods_count":0,"category_order":3,"image":"mixed"},{"category_id":502,"name":"外设产品","parent_id":491,"category_path":"0|491|502|","goods_count":0,"category_order":4,"image":"mixed"},{"category_id":503,"name":"游戏设备","parent_id":491,"category_path":"0|491|503|","goods_count":0,"category_order":5,"image":"mixed"},{"category_id":504,"name":"网络产品","parent_id":491,"category_path":"0|491|504|","goods_count":0,"category_order":6,"image":"mixed"},{"category_id":532,"name":"办公设备","parent_id":491,"category_path":"0|491|532|","goods_count":0,"category_order":7,"image":"mixed"},{"category_id":550,"name":"文具耗材","parent_id":491,"category_path":"0|491|550|","goods_count":0,"category_order":8,"image":"mixed"},{"category_id":563,"name":"服务产品","parent_id":491,"category_path":"0|491|563|","goods_count":0,"category_order":9,"image":"mixed"}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean extends BaseResult{
        /**
         * category_id : 455
         * name : 文胸/塑身/内裤
         * parent_id : 86
         * category_path : 0|86|455|
         * goods_count : 0
         * category_order : 0
         * image : mixed
         */

        private int category_id;
        private String name;
        private int parent_id;
        private String category_path;
        private int goods_count;
        private int category_order;
        private String image;

        public int getCategory_id() {
            return category_id;
        }

        public void setCategory_id(int category_id) {
            this.category_id = category_id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getParent_id() {
            return parent_id;
        }

        public void setParent_id(int parent_id) {
            this.parent_id = parent_id;
        }

        public String getCategory_path() {
            return category_path;
        }

        public void setCategory_path(String category_path) {
            this.category_path = category_path;
        }

        public int getGoods_count() {
            return goods_count;
        }

        public void setGoods_count(int goods_count) {
            this.goods_count = goods_count;
        }

        public int getCategory_order() {
            return category_order;
        }

        public void setCategory_order(int category_order) {
            this.category_order = category_order;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }
    }
}
